package com.jian.bus.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * 业务的路由器
 */
@Controller
@RequestMapping("/bus")
public class BusinessController {
    /**
     * 跳转到客户管理
     */
    @RequestMapping("/toCustomerManager")
    public String toCustomerManager(){
        return "business/customer/customerManager";
    }
    /**
     * 跳转到客户管理
     */
    @RequestMapping("/toProviderManager")
    public String toProviderManager(){
        return "business/provider/providerManager";
    }
    /**
     * 跳转到商品管理
     */
    @RequestMapping("/toGoodsManager")
    public String toGoodsManager(){
        return "business/goods/goodsManager";
    }
    /**
     * 跳转到商品进货管理
     */
    @RequestMapping("/toInportManager")
    public String toInportManager(){
        return "business/inport/inportManager";
    }
    /**
     * 跳转到商品退货管理
     */
    @RequestMapping("/toOutportManager")
    public String toOutportManager(){
        return "business/outport/outportManager";
    }
    /**
     * 跳转到销售管理
     */
    @RequestMapping("/toSalesManager")
    public String toSalesManager(){
        return "business/sales/salesManager";
    }
    /**
     *跳转到重置密码
     */
    @RequestMapping("/toSalesbackManager")
    public String toSalesbackManager(){
        return "business/salesback/salesbackManager";
    }
}
